package com.dc.designPattern._999_multi_pattern.demo_1.price.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Description: 自定义价格注解
 * @author: gdc
 * @date: 2021/6/10
 * @version 1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface PriceRegion {

    /**
     * 最小金额
     */
    int min() default Integer.MIN_VALUE;

    /**
     * 最大金额
     */
    int max() default Integer.MAX_VALUE;
}
